UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Remote X connections for interactive users must be encrypted.


Overview

Finding ID Version Rule ID IA Controls Severity
V-72303 RHEL-07-040710 SV-86927r2_rule High
Description
Open X displays allow an attacker to capture keystrokes and execute commands remotely.
STIG Date
Red Hat Enterprise Linux 7 Security Technical Implementation Guide 2017-07-08

Details

Check Text ( C-72537r3_chk )
Verify remote X connections for interactive users are encrypted.

Check that remote X connections are encrypted with the following command:

# grep -i x11forwarding /etc/ssh/sshd_config
X11Fowarding yes

If the "X11Forwarding" keyword is set to "no", is missing, or is commented out, this is a finding.
Fix Text (F-78657r4_fix)
Configure SSH to encrypt connections for interactive users.

Edit the "/etc/ssh/sshd_config" file to uncomment or add the line for the "X11Forwarding" keyword and set its value to "yes" (this file may be named differently or be in a different location if using a version of SSH that is provided by a third-party vendor):

X11Fowarding yes

The SSH service must be restarted for changes to take effect.